package com.ybkj.o2o.zhuanxian.service.impl;

import com.ybkj.o2o.zhuanxian.entity.Payrecordorder;
import com.ybkj.o2o.zhuanxian.mapper.PayrecordorderMapper;
import com.ybkj.o2o.zhuanxian.service.PayRecordOrderService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DefaultPayRecordOrderService implements PayRecordOrderService {

  @Autowired
  private PayrecordorderMapper payrecordorderMapper;

  @Override
  public void insert(Payrecordorder payRecordOrder) {
    payrecordorderMapper.insert(payRecordOrder);
  }

  @Override
  public Payrecordorder findById(Long id) {

    return payrecordorderMapper.findById(id);
  }

  @Override
  public int update(Payrecordorder payrecordorder) {

    return payrecordorderMapper.update(payrecordorder);
  }

}
